package com.lxh.observer.jdk;

import java.util.Observable;

/**
 * 通知者
 */
public class BanZhang extends Observable {

    public void sendNotify(String context) {
        System.out.println("班长发通知了：" + context);
        super.setChanged();
        super.notifyObservers(context);
    }
}
